package org.star.dolphin.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName : AccessLimit
 * @Description : 接口访问频率控制
 * @Author : summer
 * @Date: 2020/5/13 13:59
 * @Version 1.0
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AccessLimit {

    int seconds();
    int maxCount();

    String[] value() default {};

}
